<?php 
require_once('basico/start_no_auth.php');
require_once('desconto2d/class/Layout.php');

$msgErro = base64_decode($_GET['p']);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<link href="../desconto2d/style/style.css" rel="stylesheet" type="text/css" />
<title>2D Desconto</title>

<script src="../desconto2d/Scripts/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="../desconto2d/Scripts/functions.js" type="text/javascript"></script>
</head>
<body>
<?php 
echo Layout::getTopo();
//echo Layout::getMenu();
?>

<div id="site">
	<div id="principal">


<!-- ///////////////////////////////////////////////////////////////////////////// -->

           
<div id="erro">

<?php 
	
	if($msgErro){
		echo $msgErro; 
	}else{
		echo '<img src="../desconto2d/imgs/erro.png" width="391" height="109" border="0" />';
	}
?>

</div>


<!-- ///////////////////////////////////////////////////////////////////////////// -->


	</div><!-- PRINCIPAL -->
</div><!-- SITE -->


<?php 
	echo Layout::getBase();
?>

<script>
window.opener.document.location.reload()
</script> 

</body>
</html>